//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#ifndef __ELASTOS_UTIL_H__
#define __ELASTOS_UTIL_H__

#include <eladef.h>

_ELASTOS_NAMESPACE_USING

#ifdef _x86

#include <util/hal/x86/io.h>
#include <util/hal/x86/round.h>

#include <util/hal/x86/atomic.h>
#include <util/hal/x86/bitops.h>
#include <util/hal/x86/interlock.h>

#elif defined(_arm)

#include <util/hal/arm/io.h>
#include <util/hal/arm/bitops.h>
#include <util/hal/arm/interlock.h>

#elif defined(_mips)

#include <util/hal/mips/io.h>
#include <util/hal/mips/bitops.h>
#include <util/hal/mips/interlock.h>

#else

#error Unknown architecture

#endif // _x86

#include <util/kprint.h>
#include <linknode.h>
#include <util/round.h>

#endif //__ELASTOS_UTIL_H__
